#!/usr/bin/perl

package Consts;

use strict;
use warnings;

use Cwd 'abs_path';
use File::Basename;

use Exporter 'import';
# our @EXPORT_OK = qw(
#     $OS $DS
#     $ROOT_PATH $APP_PATH $CONFIG_PATH $LIB_PATH $LOG_PATH
# );

our $OS = $^O;
our $DS = $OS eq 'MSWin32' ? '\\' : '/';
our $ROOT_PATH   = dirname(abs_path($0));
our $APP_PATH    = $ROOT_PATH . $DS . 'app';
our $CONFIG_PATH = $ROOT_PATH . $DS . 'config';
our $LIB_PATH    = $ROOT_PATH . $DS . 'libs';
our $LOG_PATH    = $ROOT_PATH . $DS . 'logs';

1;

__END__
